package cn.com.company.main.client.entity;

import com.extjs.gxt.ui.client.data.BaseModelData;

public class FileModel extends BaseModelData {

	private static final long serialVersionUID = 7787969791167013666L;

	public FileModel() {

	}

	public FileModel(String id, String name, String type, String itemId) {
		setId(id);
		setName(name);
		setType(type);
		setItemId(itemId);
	}

	public void setId(String id) {
		set("id", id);
	}

	public void setName(String name) {
		set("name", name);
	}

	public void setType(String type) {
		set("type", type);
	}

	public void setItemId(String itemId) {
		set("itemid", itemId);
	}

	public String getId() {
		return get("id");
	}

	public String getName() {
		return get("name");
	}

	public String getType() {
		return get("type");
	}

	public String getItemId() {
		return get("itemid");
	}

}
